package com.gongj.annon;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanClassLoaderAware;
import org.springframework.beans.factory.BeanNameAware;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.weaving.LoadTimeWeaverAware;
import org.springframework.core.env.Environment;
import org.springframework.core.env.StandardEnvironment;
import org.springframework.instrument.classloading.LoadTimeWeaver;
import org.springframework.stereotype.Service;


public class UserService implements EnvironmentAware, LoadTimeWeaverAware {

	private  String beanName;

	@Autowired
	ApplicationContext applicationContext;


	@Override
	@Autowired
	public void setEnvironment(Environment environment) {
		System.out.println("-------------- environment ");
	}

	@Override
	@Autowired
	public void setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver) {
		System.out.println("-------------- loadTimeWeaver ");
	}


}
